#!/bin/bash


cd $(dirname $0)

#sleep 1000
result=$(git pull)
if [[ $result == "Already up to date." ]];then
   echo '代码没有更新！'
else
   /home/tony/.nvm/versions/node/v20.18.3/bin/pnpm run build
fi
